package com.leilei.service.impl;

import com.leilei.dao.ICommodityImgs;
import com.leilei.dao.impl.CommodityImgsImpl;
import com.leilei.entity.CommodityImgs;
import com.leilei.service.IICommodityImgsService;

public class CommodityImgsServiceImpl implements IICommodityImgsService {

    private ICommodityImgs commodityImgsDao = new CommodityImgsImpl();

    @Override
    public boolean insertCommodityImgs(CommodityImgs commodityImgs) {

        return commodityImgsDao.insertCommodityImgs(commodityImgs) > 0;
    }
}
